//
//  KDAutoRequestTool.h
//  WangJingApp
//
//  Created by 魏强 on 17/11/1.
//  Copyright © 2017年 KDTech. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SVProgressHUD.h"
#import "KDBaseResult.h"
#import "KDBaseParam.h"
@class KDGetSubGroupListParam;
@class KDGetMonitorNewsParam;
@class KDGetSubscribeListResult;
@interface KDAutoRequestTool : NSObject
/**  获取所有自主监测的groups的请求 */
+ (void)getAMGroupsWithParam:(KDBaseParam *)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;

/**  获取对应group下所有监测主题的请求 */
+ (void)getMonitorListWithParam:(KDGetSubGroupListParam *)param success:(void (^)(KDBaseResult *responseObejct))success failure:(void(^)(NSError *error))failure;

/**  获取对应监测主题下的所有的请求 */
+ (void)getMonitorNewsWithParam:(KDGetMonitorNewsParam *)param success:(void (^)(KDGetSubscribeListResult *responseObejct))success failure:(void(^)(NSError *error))failure;
@end
